<template>
  <div class="Introduction">
    <van-nav-bar
      left-arrow
      title="特色服务"
      @click-left="toBack"
    />

    <div style="padding: 0rem 1rem 0rem 1rem" align="left" v-html="detaList.tese"></div>

  </div>
</template>

<script>
  import { getDetailsId } from "@/api/constructionTeam/building";
  export default {
    name: "Introduction",
    data(){
      return{
        detaList: Array,
      }
    },
    created(){
      const constructionId = this.$route.query && this.$route.query.constructionId;
      this.getDetailsId(constructionId);
    },
    methods:{
      getDetailsId(constructionId) {
        getDetailsId(constructionId).then(res => {
          this.detaList = res.data.data;
        })
      },

      //返回上一层
      toBack(){
        this.$router.go(-1);
      },
    }
  }
</script>

<style scoped>
  .demo-nav__back{
    position: absolute;
    top: 12px;
    left: 16px;
    width: 24px;
    height: 24px;
    cursor: pointer;
  }
</style>
